package com.sezi.blog.service;

import java.util.List;

import com.sezi.vo.page.DataPageVo;

public interface IBaseService<T> {
	T findOne(Long id);
	List<T> findAll(DataPageVo vo);
	List<T> findAll();
	T save(T entity);
	T update(T entity);
	boolean delete(Long id);
	boolean delete(T entity);
}
